
public class Ex2Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Ex2Main ex2Main = new  Ex2Main();
		ex2Main.execMain();

	}

	/**
	 * the main function- start the running from here
	 */
	private void execMain() {
		GeneticAlgorithm ga = new GeneticAlgorithm();
		long st = System.currentTimeMillis();
		//SortingNetwork sn =  ga.searchForSoultion(Constants.EVOVLING_INPUTS);
		SortingNetwork sn =  ga.searchForSoultion(Constants.RANDOM_INPUTS);
		System.out.println(sn);
		System.out.println((System.currentTimeMillis()-st)/60000);
	}

}
